<template>
  <view>
    <view class="status_bar">
      <!-- 这里是状态栏 -->
    </view>

    <uni-nav-bar
      class="header"
      :title="title"
      color="#405680"
      :border="false"
      backgroundColor="#ffffff"
    />
  </view>
</template>

<script>
import Vue from "vue";

export default Vue.extend({
  props: ["title"],
  data() {
    return {
      title: "Hello"
    };
  },
  onLoad() {},
  methods: {}
});
</script>

<style lang="scss" scoped>
.status_bar {
  height: var(--status-bar-height);
  width: 100%;
  background: #ffffff;
}
</style>
